import * as actionTypes from "./constants";

function addAction(num) {
    return {
        type: actionTypes.ADD_ACTION,
        num,
    }
}

function subAction(num) {
    return {
        type: actionTypes.SUB_ACTION,
        num,
    }
}

export {
    addAction,
    subAction,
}